package cc.linker.steplink.crm.domain;

import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * 用户绑定关系
 */
@Getter
@Setter
public class CustomerBindRelation {
    private String userId;
    private String userCode;
    private String customerId;
    private String globalOpenid;
    private Date createTime;
    private Integer staffType;
    private String orgId;
    private String openid;
    private String token;
    
    @Getter
    public enum StaffType{
        // 内部员工
        INNER_STAFF(0), 
        // 外部推广员
        OUTTER_STAFF(1),
        // 加入文章分型的内部员工
        VALID_INNER_STAFF(2);
        
        private Integer type;
        private StaffType (Integer type) {
            this.type = type;
        }
    }
}
